package com.cd.university.db.mapper.dictionary;

import com.cd.university.db.pojo.dictionary.SubjectCategory;
import com.cd.university.service.DictionaryProcessorHolder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubjectCategoryMapper extends DictionaryProcessorHolder {
    int deleteByPrimaryKey(Integer scId);

    int insert(SubjectCategory record);

    int insertSelective(SubjectCategory record);

    SubjectCategory selectByPrimaryKey(Integer scId);

    int updateByPrimaryKeySelective(SubjectCategory record);

    int updateByPrimaryKey(SubjectCategory record);

    public List<SubjectCategory> searchAll();
}
